package com.powazi.logging.service.impl;

import java.sql.Timestamp;
import java.util.List;

import com.powazi.logging.service.LogService;
import com.powazi.model.logging.LogModel;

/**
 * Log Service Implement
 * 
 * @author gb
 * @date 2007-12-20
 */
public class LogServiceImpl implements LogService {

	public int log(LogModel logModel) {
		System.out.println("=== log ===");
		if (logModel != null) {
			System.out.println(logModel);
		}
		
		return 0;
	}

	public void deleteLog() {
	    // TODO Auto-generated method stub
	    
    }

	public List<LogModel> getLogs() {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<LogModel> getOperationsInSession(long sessionId) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<LogModel> getOperationsInSession(long[] sessionId) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<LogModel> getOperationsInSession(long userId, Timestamp timePoint) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<LogModel> getOperationsInSession(long[] userId, Timestamp timePoint) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<LogModel> getTargetOperations(int targetId, String startTime, String endTime) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<LogModel> getTargetOperations(int[] targetId, String startTime, String endTime) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<LogModel> getUserOperationsInTimePeriod(long userId, String startTime, String endTime) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<LogModel> getUserOperationsInTimePeriod(long[] userId, String startTime, String endTime) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<String> getUsersOfOperationTarget(int targetId, String startTime, String endTime) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public List<String> getUsersOfOperationTarget(int[] targetId, String startTime, String endTime) {
	    // TODO Auto-generated method stub
	    return null;
    }

	public int logException(LogModel logModel, Throwable ex) {
	    // TODO Auto-generated method stub
	    return 0;
    }


}
